all:build

build-go:
	go build -o libadd.so -buildmode=c-shared add.go

build: build-go
	g++ -o main main.cpp -L. -ladd

clean:
	rm -rf libadd.* main
